home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="/">
- <html>
- <head/>
-
- <script language="JavaScript1.2" src="dd-popit.js"></script>
- <SCRIPT LANGUAGE="JavaScript">
-
- document.oncontextmenu=new Function("return false")
-
- function toggle(elID) {
- if (String(elID.style) != "undefined") {
- if (elID.style.display == "none")
- elID.style.display = "inline";
- else
- elID.style.display = "none";
- }
- }
-
- </SCRIPT>
-
- <style>
- body {
- background: #E4D3C5;
- scrollbar-face-color: #D9C4B2;
- scrollbar-shadow-color: #D9C4B2;
- scrollbar-highlight-color: #E4D2C4;
- scrollbar-3dlight-color: #C5A994;
- scrollbar-darkshadow-color: #C3A893;
- scrollbar-track-color: #DFCCBC;
- scrollbar-arrow-color: EADDD2;
- }
-
- P {
- font-size: 11px;
- font-family: verdana, tahoma, helvetica, geneva, sans-serif;
- color: #000000
- }
-
- .brown {
- font-size: 11px;
- font-family: verdana, tahoma, helvetica, geneva, sans-serif;
- color: #6B5846
- }
-
- .game {
- font-size: 11px;
- font-family: verdana, tahoma, helvetica, geneva, sans-serif;
- color: #000000
- }
-
-
- table.details {
- font-size: 11px;
- font-family: verdana, tahoma, helvetica, geneva, sans-serif;
- border-width: 0px;
- vertical-align: top;
- text-align: left;
- }
-
- td {
- background: #E4D3C5;
- vertical-align: top;
- text-align: left;
- border-width: 1px;
- padding: 0px,0px,0px,0px;
- spacing: 0px,0px,0px,0px;
- }
-
- a:link {
- color: #660000;
- text-decoration: none
- }
-
- a:visited {
- color: #993333;
- text-decoration: none
- }
-
- a:hover {
- color: #993333;
- text-decoration: underline;
- cursor: hand
- }
-
- .menuskin{
- position:absolute;
- width:100px;
- background-color:#ECECEC;
- border:1px solid black;
- font:normal 11px verdana;
- line-height:14px;
- z-index:100;
- visibility:hidden;
- }
-
- .menuskin a{
- text-decoration:none;
- color:black;
- padding-left:2px;
- padding-right:2px;
- }
-
- #mouseoverstyle{
- background-color:#666666;
- }
-
- #mouseoverstyle a{
- color:white;
- }
- </style>
-
-
- <body topmargin="0" bottommargin="0" leftmargin="3" rightmargin="3">
- <img src="images/_vmclegend.gif" /><br />
- <div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off'); dynamichide(event)" style="position: absolute; border: 1px solid black;"></div>
-
- <xsl:for-each select="gms_clientdata">
- <xsl:choose>
- <xsl:when test="count(c)='0'"><p>No games located</p></xsl:when>
- <xsl:otherwise>
- <xsl:for-each select="c">
-
- <xsl:variable name="computer_loc"><xsl:value-of select="@c_local" /></xsl:variable>
- <xsl:variable name="computer_name"><xsl:value-of select="@c_name" /></xsl:variable>
- <xsl:variable name="game_count"><xsl:value-of select="count(.//a[@a_manage='1' and @a_type='2'])"/></xsl:variable>
- <xsl:variable name="game_count_text"><xsl:value-of select="$game_count"/> game<xsl:choose><xsl:when test="$game_count!=1">s</xsl:when></xsl:choose></xsl:variable>
- <xsl:variable name="demo_count"><xsl:value-of select="count(.//a[@a_manage='1' and @a_type='6'])"/></xsl:variable>
- <xsl:variable name="demo_count_text"><xsl:value-of select="$demo_count"/> demo<xsl:choose><xsl:when test="$demo_count!=1">s</xsl:when></xsl:choose></xsl:variable>
- <xsl:variable name="summary"><xsl:choose><xsl:when test="$game_count>'0'"><xsl:value-of select="$game_count_text"/></xsl:when></xsl:choose><xsl:choose><xsl:when test="$game_count>'0' and $demo_count>'0'"> and </xsl:when></xsl:choose><xsl:choose><xsl:when test="$demo_count>'0'"><xsl:value-of select="$demo_count_text"/></xsl:when></xsl:choose> installed</xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$computer_loc='1'">
- <img border="0" align="absmiddle" src="images\vmc_pc_icon.gif"></img>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" align="absmiddle" src="images\network.gif"></img>
- </xsl:otherwise>
- </xsl:choose>
-
- <span style="font-weight:bold"> </span>
- <span style="font-family:Verdana; font-size:11px; font-weight:bold; color:A48368;">
- <xsl:element name="a"><xsl:attribute name="href">javascript:toggle(document.all.c<xsl:value-of select="@c_name"/>);</xsl:attribute>
- <xsl:value-of select="@c_name"/>
- </xsl:element>
- - (<xsl:value-of select="$summary"/>)
- </span><BR />
- <xsl:element name="span"><xsl:attribute name="id">c<xsl:value-of select="@c_name"/></xsl:attribute><xsl:attribute name="style">display: inline;</xsl:attribute>
- <table border="0" width="100%" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left">
- <xsl:for-each select="m">
- <xsl:for-each select="d">
-
- <xsl:for-each select="a[@a_manage='1']">
-
- <xsl:variable name="app_id">c<xsl:value-of select="../../../@c_id" />m<xsl:value-of select="../../@m_id" />d<xsl:value-of select="../@d_id" />a<xsl:value-of select="@a_id" /></xsl:variable>
-
- <tr>
- <td align="left">
- <p align="justify">
-
- <xsl:choose>
-
- <xsl:when test="@a_restricted='1'">
- <img style="display:inline; font-family:Verdana; font-size:11px;" border="0">
- <xsl:attribute name="src"><xsl:text disable-output-escaping="yes">images\patch_unknown.gif</xsl:text></xsl:attribute>
- </img>
- </xsl:when>
-
- <xsl:when test="@v_id='-1'">
- <img style="display:inline; font-family:Verdana; font-size:11px;" border="0">
- <xsl:attribute name="src"><xsl:text disable-output-escaping="yes">images\patch_unknown.gif</xsl:text></xsl:attribute>
- </img>
- </xsl:when>
-
- <xsl:when test="count(./u[@u_status='cur' or @u_status='any'])=0">
- <img style="display:inline; font-family:Verdana; font-size:11px;" border="0">
- <xsl:attribute name="src"><xsl:text disable-output-escaping="yes">images\patch_ok.gif</xsl:text></xsl:attribute>
- </img>
- </xsl:when>
-
- <xsl:otherwise>
- <img style="display:inline; font-family:Verdana; font-size:11px;" border="0">
- <xsl:attribute name="src"><xsl:text disable-output-escaping="yes">images\patch_action.gif</xsl:text></xsl:attribute>
- </img>
- </xsl:otherwise>
-
- </xsl:choose>
-
- <xsl:element name="span">
- <xsl:attribute name="id"><xsl:value-of select="$app_id"/></xsl:attribute>
- <img style="display:inline; font-family:Verdana; font-size:11px;" border="0">
- <xsl:attribute name="src">images\dots_entry.gif</xsl:attribute>
- </img>
- </xsl:element>
-
- <span style="display:inline; font-family:Verdana; font-size:11px;">
-
- <xsl:choose>
- <xsl:when test="@v_id != -1">
- <xsl:element name="a">
- <xsl:attribute name="href">javascript:toggle(<xsl:value-of select="$app_id"/>v<xsl:value-of select="@v_id"/>lst);</xsl:attribute>
- <xsl:attribute name="title">
- <xsl:choose>
- <xsl:when test="$computer_loc='1'"><xsl:value-of select="../../@m_name" /><xsl:value-of select="../@d_text" /></xsl:when>
- <xsl:otherwise>[<xsl:value-of select="../../@m_name" />]$<xsl:value-of select="../@d_text" /></xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:value-of select="@a_name"/>
- <xsl:choose>
- <xsl:when test="@v_name=''">
- (Unknown)
- </xsl:when>
- <xsl:otherwise>
- (<xsl:value-of select="@v_name"/>)
- </xsl:otherwise>
- </xsl:choose>
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="title">
- <xsl:choose>
- <xsl:when test="$computer_loc='1'"><xsl:value-of select="../../@m_name" /><xsl:value-of select="../@d_text" /></xsl:when>
- <xsl:otherwise>[<xsl:value-of select="../../@m_name" />]$<xsl:value-of select="../@d_text" /></xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:value-of select="@a_name"/>
- <xsl:choose>
- <xsl:when test="@v_name=''">
- (Unknown)
- </xsl:when>
- <xsl:otherwise>
- (<xsl:value-of select="@v_name"/>)
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
-
-
- </span>
- <br />
- <xsl:choose>
- <xsl:when test="@v_id != -1">
- <xsl:element name="span">
- <xsl:attribute name="style">display: none;</xsl:attribute>
- <xsl:attribute name="id"><xsl:value-of select="$app_id"/>v<xsl:value-of select="@v_id"/>lst</xsl:attribute>
- <table width="500" class="details">
- <xsl:choose>
- <xsl:when test="@a_restricted='1'">
- <tr>
- <td align="left">
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img hspace="2" vspace="0" align="absmiddle" border="0" src="images/dots_entry_bottom.gif"/>
- Functionality only available to subscribers
- </td>
- </tr>
- </xsl:when>
- <xsl:when test="count(./u)='0'">
- <tr>
- <td align="left">
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img hspace="2" vspace="0" align="absmiddle" border="0" src="images/dots_entry_bottom.gif"/>
- No known patches
- </td>
- </tr>
- </xsl:when>
- <xsl:otherwise>
- <xsl:choose>
- <xsl:when test="count(./u[@u_status='cur' or @u_status='any'])">
- <xsl:for-each select="u">
- <xsl:if test="@u_status='cur' or @u_status='any'">
- <tr>
- <td align="left">
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <xsl:element name="img">
- <xsl:attribute name="hspace">2</xsl:attribute>
- <xsl:attribute name="vspace">0</xsl:attribute>
- <xsl:attribute name="align">absmiddle</xsl:attribute>
- <xsl:attribute name="border">0</xsl:attribute>
- <xsl:attribute name="src">
- <xsl:choose>
- <xsl:when test="position()=last()">
- images/dots_entry_bottom.gif
- </xsl:when>
- <xsl:otherwise>
- images/dots_entry_middle.gif
- </xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- </xsl:element>
- </td>
- <td width="360" align="left">
- <xsl:value-of select="@u_name" />
- </td>
- <td width="80" align="left" class="brown">
- <xsl:value-of select="@u_filesize_txt"/>
- </td>
- <xsl:element name="span">
- <xsl:attribute name="style">display: none;</xsl:attribute>
- <xsl:attribute name="id"><xsl:value-of select="$app_id"/>u<xsl:value-of select="@u_id"/>_7</xsl:attribute>
- <xsl:for-each select="l[@l_type='7']">
- <xsl:element name="a">
- <xsl:attribute name="href">about:blank//<xsl:value-of select="@l_desc"/>/x<xsl:value-of select="@l_id"/>x</xsl:attribute>
- <xsl:attribute name="title"><xsl:value-of select="@l_desc"/> for '<xsl:value-of select="../../@a_name"/>:<xsl:value-of select="../@u_name"/>'</xsl:attribute>
- <xsl:value-of select="@l_desc" />
- </xsl:element>
- <BR />
- </xsl:for-each>
- </xsl:element>
- <td width="20" align="left" valign="middle">
- <xsl:choose>
- <xsl:when test="count(l[@l_type='7'])>0">
- <xsl:for-each select="l[@l_type='7']">
- <xsl:element name="a">
- <xsl:attribute name="href">#</xsl:attribute>
- <xsl:attribute name="onMouseOver">showmenu(event, <xsl:value-of select="$app_id"/>u<xsl:value-of select="../@u_id" />_7.innerHTML);</xsl:attribute>
- <xsl:attribute name="onMouseOut">delayhidemenu();</xsl:attribute>
- <img src="images\forum.gif" width="16" height="16" border="0" />
- </xsl:element>
- <BR/>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <img src="images\no_forum.gif" width="16" height="16" border="0" />
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <xsl:element name="span">
- <xsl:attribute name="style">display: none;</xsl:attribute>
- <xsl:attribute name="id"><xsl:value-of select="$app_id"/>u<xsl:value-of select="@u_id"/>_3</xsl:attribute>
- <xsl:for-each select="l[@l_type='3']">
- <xsl:element name="a">
- <xsl:attribute name="href">about:blank//<xsl:value-of select="@l_desc"/>/x<xsl:value-of select="@l_id"/>x</xsl:attribute>
- <xsl:attribute name="title"><xsl:value-of select="@l_desc"/> for '<xsl:value-of select="../../@a_name"/>:<xsl:value-of select="../@u_name"/>'</xsl:attribute>
- <xsl:value-of select="@l_desc" />
- </xsl:element>
- <BR />
- </xsl:for-each>
- </xsl:element>
- <td width="20" align="left" valign="middle">
- <xsl:choose>
- <xsl:when test="count(l[@l_type='3'])>0">
- <xsl:for-each select="l[@l_type='3']">
- <xsl:element name="a">
- <xsl:attribute name="href">#</xsl:attribute>
- <xsl:attribute name="onMouseOver">showmenu(event, <xsl:value-of select="$app_id"/>u<xsl:value-of select="../@u_id" />_3.innerHTML);</xsl:attribute>
- <xsl:attribute name="onMouseOut">delayhidemenu();</xsl:attribute>
- <img src="images\review.gif" width="16" height="16" border="0" />
- </xsl:element>
- <BR/>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <img src="images\no_review.gif" width="16" height="16" border="0" />
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <xsl:element name="span">
- <xsl:attribute name="style">display: none;</xsl:attribute>
- <xsl:attribute name="id"><xsl:value-of select="$app_id"/>u<xsl:value-of select="@u_id"/>_2</xsl:attribute>
- <xsl:for-each select="l[@l_type='2']">
- <xsl:element name="a">
- <xsl:attribute name="href">about:blank//<xsl:value-of select="@l_desc"/>/x<xsl:value-of select="@l_id"/>x</xsl:attribute>
- <xsl:attribute name="title"><xsl:value-of select="@l_desc"/> for '<xsl:value-of select="../../@a_name"/>:<xsl:value-of select="../@u_name"/>'</xsl:attribute>
- <xsl:value-of select="@l_desc" />
- </xsl:element>
- <BR />
- </xsl:for-each>
- </xsl:element>
- <td width="20" align="left" valign="middle">
- <xsl:choose>
- <xsl:when test="count(l[@l_type='2'])>0">
- <xsl:for-each select="l[@l_type='2']">
- <xsl:element name="a">
- <xsl:attribute name="href">#</xsl:attribute>
- <xsl:attribute name="onMouseOver">showmenu(event, <xsl:value-of select="$app_id"/>u<xsl:value-of select="../@u_id" />_2.innerHTML);</xsl:attribute>
- <xsl:attribute name="onMouseOut">delayhidemenu();</xsl:attribute>
- <img src="images\readme.gif" width="16" height="16" border="0" />
- </xsl:element>
- <BR/>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <img src="images\no_readme.gif" width="16" height="16" border="0" />
- </xsl:otherwise>
- </xsl:choose>
- </td>
- <xsl:element name="span">
- <xsl:attribute name="style">display: none;</xsl:attribute>
- <xsl:attribute name="id"><xsl:value-of select="$app_id"/>u<xsl:value-of select="@u_id"/>_1</xsl:attribute>
- <xsl:for-each select="l[@l_type='1']">
- <xsl:element name="a">
- <xsl:attribute name="href">about:blank//Download/x<xsl:value-of select="@l_id"/>x</xsl:attribute>
- <xsl:value-of select="@l_server" />
- </xsl:element>
- <BR />
- </xsl:for-each>
- </xsl:element>
- <td width="20" align="left" valign="middle">
-
- <xsl:choose>
- <xsl:when test="count(./l)>'0'">
- <xsl:element name="a">
- <xsl:attribute name="href">#</xsl:attribute>
- <xsl:attribute name="onMouseOver">showmenu(event, <xsl:value-of select="$app_id"/>u<xsl:value-of select="@u_id" />_1.innerHTML);</xsl:attribute>
- <xsl:attribute name="onMouseOut">delayhidemenu();</xsl:attribute>
- <img src="images\download.gif" width="16" height="16" border="0" />
- </xsl:element>
- </xsl:when>
- <xsl:otherwise>
- <img src="images\no_download.gif" width="16" height="16" border="0" />
- </xsl:otherwise>
- </xsl:choose>
-
- </td>
- <td width="20">
- <xsl:element name="a">
- <xsl:attribute name="href">about:blank//Install/x<xsl:value-of select="@u_id"/>x</xsl:attribute>
- <xsl:attribute name="title">Install '<xsl:value-of select="../@a_name"/>:<xsl:value-of select="@u_name"/>'</xsl:attribute>
- <img src="images\install.gif" width="16" height="16" border="0" />
- </xsl:element>
- </td>
- </tr>
- </xsl:if>
- </xsl:for-each>
- </xsl:when>
- <xsl:otherwise>
- <tr>
- <td>
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img vspace="0" align="absmiddle" border="0" src="images/blanks.gif"/>
- <img hspace="2" vspace="0" align="absmiddle" border="0" src="images/dots_entry_bottom.gif"/>
- No patches available for this version
- </td>
- </tr>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:otherwise>
- </xsl:choose>
- </table><br />
- </xsl:element>
- </xsl:when>
- </xsl:choose>
- </p>
- </td>
- </tr>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:for-each>
- </td>
- </tr>
- </table>
- </xsl:element>
- <br />
- <img src="images/rule.gif" />
- <br />
- <br />
- </xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </body>
- <br></br>
-
- </html>
- </xsl:template>
- </xsl:stylesheet>
-
-
-